package com.fhj.bookshop.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fhj.bookshop.entity.Myorder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fhj.bookshop.entity.OrderDTO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fu
 * @since 2023-12-12
 */
public interface IMyorderService extends IService<Myorder> {

    void updateOrder(String alipayNumber,String orderNumber,String updateTime);
    Myorder createOrder(Integer custId,Integer proId,Integer proNumber);

    OrderDTO findByOrderNumber(String orderNumber);

    Page<Myorder> orderPageService(int pageCode, int pageSize,int custId);

    Page<Myorder> AdminOrderPageService(int pageCode, int pageSize);
}
